class UpdateReqNulls < ActiveRecord::Migration
  def self.up
    Req.find(:all).each { |r|
      r.priority=3 if r.priority == nil
      r.status = 10 if r.status == nil 
      r.save
      }
  end

  def self.down
  end
end
